package com.suny.sf_server.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.suny.DataDic.DataDic;
import com.baomidou.mybatisplus.extension.service.IService;
import com.suny.DataDic.dto.DataDicDTO;
import com.suny.DataDic.dto.DataDicQueryDTO;
import com.suny.DataDic.vo.DataDicVO;
import com.suny.result.PageDTO;

import java.util.List;

/**
* @author sun
* @description 针对表【data_dic(牲畜品种信息表)】的数据库操作Service
* @createDate 2024-12-27 10:45:10
*/
public interface DataDicService extends IService<DataDic> {

    Boolean addDataDic(DataDicDTO dataDicDTO);

    Boolean updateStatus(Integer id, Integer status);

    Page<DataDic> getList(PageDTO pageDTO);
    Page<DataDic> getListByCondition(DataDicQueryDTO query);

    List<DataDicVO> getBySelect();
}
